/*
 * @Author: zxf
 * @Date: 2017-08-15 10:09:22
 * @Last Modified by: zhuxiaofang
 * @Last Modified time: 2018-03-27 10:49:20
 */

import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Stroke from '@/components/Stroke'
import Guider from '@/components/Guider'
import Journal from '@/components/Journal'
import Group from '@/components/Group'
import Travelgency from '@/components/Travelgency'
import Clients from '@/components/Clients'

Vue.use(Router);
let track='';
export default new Router({
  // mode: 'history',
  history: false,
  hashbang: true,
  routes: [
    {
      path:`${track}/`,
      name: 'Login',
      component: Login
    },{
      path:`${track}/stroke`,
      name:'Stroke',
      component:Stroke
    },{
      path:`${track}/journal`,
      name:'Journal',
      component:Journal
    },{
      path:`${track}/group`,
      name:'Group',
      component:Group
    },{
      path:`${track}/guider`,
      name:'Guider',
      component:Guider
    },{
      path:`${track}/clients`,
      name:'Clients',
      component:Clients
    },{
      path:`${track}/travelgency`,
      name:'Travelgency',
      component:Travelgency
    }
  ]
})
